package com.jxd.project.absence.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.List;

/**
 * @ClassName PreMenu
 * @Description TODO
 * @Author 李杨
 * @Date 2025/10/10 14:41
 * @Version 1.0
 */
@Data
public class PreMenu {
    private int pid;
    private String pname;

    List<SubMenu> subMenuList;

    public PreMenu() {
    }

    public PreMenu(int pid, String pname, List<SubMenu> subMenuList) {
        this.pid = pid;
        this.pname = pname;
        this.subMenuList = subMenuList;
    }
}
